<?php


namespace App\Models;


use Illuminate\Database\Eloquent\Model;

class ChinaAreaModel extends Model
{
    protected $table = 'china_area';
    public $timestamps = true;

    public static function getName($id){
        return  self::where('id',$id)->value('name');
    }
}